b449e00ce994dc42d97e981434c74c844b7efba3,src/org/exist/dom/ElementImpl.java,ElementImpl,update,#Txn#NodeList#,1199
Before Change
getBroker().updateNode(transaction, this);
// reindex if required
final DocumentImpl owner = (DocumentImpl)getOwnerDocument();
getBroker().reindexXMLResource(transaction, owner, owner, null);
}
/**
After Change
appendChildren(transaction, newNodeId, -1, new NodeImplRef(last), getPath(), newContent, true);
getBroker().updateNode(transaction, this);
// reindex if required
getBroker().flush();
}
/**